package com.jingbian.study.service;

import com.jingbian.study.entity.Jobs;
import org.quartz.SchedulerException;

import java.util.List;

/**
 * @Auter 李孝在
 * @Date 2025/1/15
 */
public interface IJobService {
    void saveJob(Jobs jobs);

    void deleteJob(Integer id);

    void updateJob(Jobs jobs);

    List<Jobs> gitJobList();

    Jobs getJob(Integer id);

    void test();

    String installJob(Integer jobId,String triggerName,String triggerGroup);

    void unloadJob(Integer jobId, String triggerName, String triggerGroup) throws SchedulerException;
}
